var bigOne = function(e) { //大鱼
	this.x = [];
	this.y = [];
	this.bigEyes = new Image();
	this.bigBody = new Image();
	this.bigTail = new Image();
	this.angle = [];
}


bigOne.prototype.init = function() {
	this.x = canWidth * 0.5;
	this.y = canHeight * 0.5;
	this.angle = 0;
	this.bigEyes.src = './img/bigEye0.png';
	this.bigBody.src = './img/bigSwim0.png';
	this.bigTail.src = './img/bigTail0.png';
}

bigOne.prototype.draw = function() {

	//lerp
	//Math atan(y,z)
	this.x = lerpDistance(MOUSEX, this.x, 0.9);
	this.y = lerpDistance(MOUSEY, this.y, 0.9)

	var deltaY = MOUSEY - this.y;
	var deltaX = MOUSEX - this.x;
	var beta = Math.atan2(deltaY, deltaX) + Math.PI;
	this.angle = lerpAngle(beta, this.angle, 0.6);

	ctx1.save();
	ctx1.translate(this.x, this.y);
	ctx1.rotate(this.angle);
	ctx1.drawImage(this.bigEyes, -this.bigEyes.width * 0.5, -this.bigEyes.height * 0.5);
	ctx1.drawImage(this.bigBody, -this.bigBody.width * 0.5, -this.bigBody.height * 0.5);
	ctx1.drawImage(this.bigTail, -this.bigTail.width * 0.5 + 30, -this.bigTail.height * 0.5);

	//delta amgle

	ctx1.restore();
}